package com.java.grammer.arrays;

public class Array_Test1 {
    public static void main(String[] args) {
        int[] a = new int[]{1, 3, 5, 6, 9};
        Array p = new Array();
        p.sort(a);
    }
}

class Array {
    public void sort(int[] a) {
        for (int i = 0; i < a.length; i++) {
            System.out.print(a[i] + " ");
        }
    }
}
